//普通的同步钩子
//按照注册顺序，依次执行
const { SyncHook } = require('tapable');

const queue = new SyncHook(['arg1', 'arg2']);

queue.tap('nodeTask', (arg1, arg2) => {
	console.log('nodeTask', arg1, arg2);
});
queue.tap('reactTask', (arg1, arg2) => {
	console.log('reactTask', arg1, arg2);
});

queue.call('111', '222');
